package Properties.T1;

import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;

public class T1 {

    public static void main(String[] args) throws IOException {

        Properties pro = new Properties();
        pro.setProperty("uid","001");
        pro.setProperty("username","jack");
        pro.setProperty("password","123");

        FileOutputStream fos = new FileOutputStream("t1.properties");
        pro.store(fos,null);
        fos.close();

    }
}
